why i got : ReferenceError: $ is not defined $.ajax({

Posted by user2922621 on Stack Overflow See other posts from Stack Overflow or by user2922621
Published on 2013-10-26T09:46:32Z Indexed on 2013/10/26 9:53 UTC
Read the original article Hit count: 128

Filed under:
|
|

i need to call phpfile through ajax.. i tried \::;

<html>
<script type="text/javascript">

setInterval(function(){
test();
},3000);

function test(){     
$.ajax({
    type: "POST",
    url: "GetMachineDetail.php",
    data: "{}",
    success: function(response){
         alert("suceccess");}
    });
}

Its simple javascript jquery calling.. but we got ajax not found eror, any solution please.

© Stack Overflow or respective owner

Related posts about php

Related posts about AJAX